package com.heima.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.admin.pojos.AdSensitive;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @ClassName SensitiveMapper
 * @Description 敏感词dao层接口
 * @Author AWei
 * @DATE 2021/4/10 19:30
 * @Version 1.0
 */
public interface SensitiveMapper extends BaseMapper<AdSensitive> {

    /**
     * @Description 查找所有敏感词
     * @return 查询结果封装集合
     */
    @Select("select sensitives from ad_sensitive")
     List<String> findAllSensitive();

}
